package creative.fire.interview.study;

import java.util.TimeZone;

public class TestTimeZone {

	public void printZoneIds() {
		for (String string : TimeZone.getAvailableIDs()) {
			System.out.println(string);
		}
	}

	public void printZoneIds(String timezone) {
		for (String string : TimeZone.getAvailableIDs(TimeZone.getTimeZone(timezone).getRawOffset())) {
			System.out.println(string);
		}
	}

	public static void main(String[] args) {
		TestTimeZone test = new TestTimeZone();
		test.printZoneIds("GMT+8");
	}
}
